package com.hoyo.domain;

import java.sql.Timestamp;
import java.util.List;

public class Catalog {
	
	private int id;
	
	private int userId;
	
	private String icon;
	
	private String nickname;
	
	private String description;
	
	private int exp;
	
	private String catalogName;
	
	private String catalogPoster;
	
	private Timestamp createTime;
	
	private String introduction;
	
	private int channelId;
	
	private String channelName;
	
	private int playAmount;
	
	private int commentAmount;
	
	private int danmuAmount;
	
	private int coinAmount;
	
	private int collectAmount;
	
	private int amount;
	
	private int total;
	
	private boolean isChecked;
	
	private boolean isShowed;
	
	private List<Movie> movies;
	
	public Catalog() {
		this.createTime = new Timestamp(System.currentTimeMillis());
	}
	
	public Catalog(int userId, String catalogName, String catalogPoster, String introduction, int channelId) {
		this();
		this.userId = userId;
		this.catalogName = catalogName;
		this.catalogPoster = catalogPoster;
		this.introduction = introduction;
		this.channelId = channelId;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String userIcon) {
		this.icon = userIcon;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String descption) {
		this.description = descption;
	}

	public int getExp() {
		return exp;
	}

	public void setExp(int exp) {
		this.exp = exp;
	}

	public String getCatalogName() {
		return catalogName;
	}

	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}

	public String getCatalogPoster() {
		return catalogPoster;
	}

	public void setCatalogPoster(String catalogPoster) {
		this.catalogPoster = catalogPoster;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public int getChannelId() {
		return channelId;
	}

	public void setChannelId(int channelId) {
		this.channelId = channelId;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public int getPlayAmount() {
		return playAmount;
	}

	public void setPlayAmount(int playAmount) {
		this.playAmount = playAmount;
	}

	public int getDanmuAmount() {
		return danmuAmount;
	}

	public void setDanmuAmount(int danmuAmount) {
		this.danmuAmount = danmuAmount;
	}

	public int getCoinAmount() {
		return coinAmount;
	}

	public void setCoinAmount(int coinAmount) {
		this.coinAmount = coinAmount;
	}

	public int getCollectAmount() {
		return collectAmount;
	}

	public void setCollectAmount(int collectAmount) {
		this.collectAmount = collectAmount;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public List<Movie> getMovies() {
		return movies;
	}

	public void setMovies(List<Movie> movies) {
		this.movies = movies;
	}
	
	public boolean getIsChecked() {
		return isChecked;
	}

	public void setIsChecked(boolean isChecked) {
		this.isChecked = isChecked;
	}

	public boolean getIsShowed() {
		return isShowed;
	}

	public void setIsShowed(boolean isShowed) {
		this.isShowed = isShowed;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getCommentAmount() {
		return commentAmount;
	}

	public void setCommentAmount(int commentAmount) {
		this.commentAmount = commentAmount;
	}
}
